﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using AutoBackupDatabase.ENT;
using System.Data;
namespace AutoBackupDatabase.BLL
{
    public class UNITBLL
    {
         private UNITDAL UNITDAL;
       public UNITBLL()
       {
           UNITDAL = new UNITDAL();
       }

       public List<UNITENT> GET_UNIT_ALL()
       {
           return UNITDAL.GET_UNIT_ALL();

       }
       public bool INSERTUNIT(UNITENT ent)
       {

           return UNITDAL.INSERTUNIT(ent);

       }
       public bool UPDATEUNITBYUNITID(UNITENT ent)
       {

           return UNITDAL.UPDATEUNITBYUNITID(ent);

       }
       public bool DELTELEUNITBYUNITID(UNITENT ent)
       {

           return UNITDAL.DELTELEUNITBYUNITID(ent);

       }
    }
}
